import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', name: 'Home', component: () => import('@/views/Home.vue') },
    { path: '/index', redirect: '/' },
    { path:'/tools', name:'Tools', component:() => import('@/views/Tools.vue') },
    { path: '/about', name: 'About', component: () => import('@/views/About.vue') }
  ]
});

export default router;